#include <gui/hikingpage_screen/HikingPageView.hpp>
#include <texts\TextKeysAndLanguages.hpp>
#include <images/BitmapDatabase.hpp>
//
HikingPageView::HikingPageView()
{

}

void HikingPageView::setupScreen()
{
    HikingPageViewBase::setupScreen();
}

void HikingPageView::tearDownScreen()
{
    HikingPageViewBase::tearDownScreen();
}
//动画效果
void HikingPageView::handleTickEvent()
{
	static int timCnt = 0;
	timCnt++;	//20ms
	//
	switch (timCnt)
  {
    case 10:	
        imageBigWhite.setBitmap(Bitmap(BITMAP_BIGWHITE1_ID));
        break;
    case 20:
        imageBigWhite.setBitmap(Bitmap(BITMAP_BIGWHITE2_ID));
        break;
    case 30:
        imageBigWhite.setBitmap(Bitmap(BITMAP_BIGWHITE3_ID));
        break;
    case 40:
        imageBigWhite.setBitmap(Bitmap(BITMAP_BIGWHITE4_ID));
        break;
    case 50:
        imageBigWhite.setBitmap(Bitmap(BITMAP_BIGWHITE5_ID));
        break;
  }
	if(timCnt >= 50) timCnt = 0;
	//显示
	imageBigWhite.invalidate();
}